package cn.kgc.itrip.mapper.itripHotel;

import cn.kgc.itrip.beans.model.pojo.ItripHotel;
import cn.kgc.itrip.beans.model.vo.ItripHoteldescsVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ItripHotelMapper {

	public ItripHotel getItripHotelById(@Param(value = "id") Long id)throws Exception;

	public List<ItripHotel>	getItripHotelListByMap(Map<String,Object> param)throws Exception;

	public Integer getItripHotelCountByMap(Map<String,Object> param)throws Exception;

	public Integer insertItripHotel(ItripHotel itripHotel)throws Exception;

	public Integer updateItripHotel(ItripHotel itripHotel)throws Exception;

	public Integer deleteItripHotelById(@Param(value = "id") Long id)throws Exception;
	String queryHotelName(@Param("hotelId") long hotelId);
	ItripHotel queryhoteldetails(@Param("hotelId") long hotelId);

	String queryhotelpolicy(@Param("id") Integer id);


	ItripHoteldescsVo getHoteldesc(@Param("hotelId") long hotelId);

	/**
	 * 根据酒店ID查询酒店信息
	 */

	ItripHotel queryHotel(@Param("hotelId") long hotelId);


}
